package cn.patpang.core.vo;

import java.io.Serializable;

/**
 * @Title ErrorResponseView.java
 * @Author PangPX
 * @Data 2017年6月21日 下午5:49:42
 * 
 * @ error response result
 * 
 */
public class HttpResponseError<T extends Serializable> implements Serializable {

	private static final long serialVersionUID = 6693553148198394560L;

	private int errCode;
	private String message;
	private T errContent;

	public HttpResponseError(int errCode, String message) {
		this.errCode = errCode;
		this.message = message;
	}

	public HttpResponseError(int errCode, String message, T errContent) {
		this.errCode = errCode;
		this.message = message;
		this.errContent = errContent;
	}

	public int getErrCode() {
		return errCode;
	}

	public void setErrCode(int errCode) {
		this.errCode = errCode;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public T getErrContent() {
		return errContent;
	}

	public void setErrContent(T errContent) {
		this.errContent = errContent;
	}

}
